-- GENERATED SPELL FOR [Deviate Creeper] --


function spell0_3632(pUnit, Event) --@Infected Wound,n/a--
pUnit:FullCastSpellOnTarget(3427,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3632', 30294, 1)
end

function Sorts_3632(pUnit, Event)
local choix_sorts_3632 = math.random(0, 0)
if choix_sorts_3632 == 0 then
pUnit:RegisterEvent('spell0_3632', 1, 1)
end
end

function mob3632_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3632', math.random(1500, 3000), 1)
end

function mob3632_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3632_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3632_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3632, 1, 'mob3632_Action')
RegisterUnitEvent(3632, 2, 'mob3632_Leave')
RegisterUnitEvent(3632, 3, 'mob3632_Kill')
RegisterUnitEvent(3632, 4, 'mob3632_Die')
